b0fe4c1884dd7ba265c046e9999b96c7dc9de768,esc/src/main/java/org/cloudifysource/esc/installer/AgentlessInstaller.java,AgentlessInstaller,remoteExecuteAgentOnServer,#InstallationDetails#number#String#,604

Before Change


			scb.exportVar(CloudifyConstants.REST_MAX_MEMORY_ENVIRONMENT_VAR, details.getRestMaxMemory());
			
			scb.exportVar(CloudifyConstants.WEBUI_PORT_ENV_VAR, details.getWebuiPort().toString());
			scb.exportVar(CloudifyConstants.WEBUI_MAX_MEMORY_ENVIRONMENT_VAR, details.getWebuiMaxMemory());
		}
		
		if (details.getUsername() != null) {

After Change


			if (details.getWebuiPort() != null) {
				scb.exportVar(CloudifyConstants.WEBUI_PORT_ENV_VAR, details.getWebuiPort().toString());
			}
			if (details.getWebuiMaxMemory() != null) {
				scb.exportVar(CloudifyConstants.WEBUI_MAX_MEMORY_ENVIRONMENT_VAR, details.getWebuiMaxMemory());
			}
		}